package com.design.pattern.mediator;

/**
 * 店老板
 */
public abstract class Boss {
    private String shopName;//店名
    private String goods;//货物
    private Intermediary intermediary;//平台

    public Boss(String shopName, String goods) {
        this.shopName = shopName;
        this.goods = goods;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getGoods() {
        return goods;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }

    public Intermediary getIntermediary() {
        return intermediary;
    }

    public void setIntermediary(Intermediary intermediary) {
        this.intermediary = intermediary;
    }

    public abstract String shell(Money money);

    public abstract String buy(Money money, Intermediary intermediary);


}
